@charset "UTF-8";
@import "../../css/base.less";

@login_blue: #295caf;
.comModalWidth {
  width: 1200px;
  margin: 0 auto;
}
/*企业登录*/
#loginPage {
  position: relative;
  background: #fff;
  height: 100%;
  min-width: 1200px;
  .loginGif {
    position: absolute;
    width: auto;
    top: 5%;
    left: 5%;
    height: 80%;
    min-height: 600px;
    max-height: 912px;
  }
  .logoText {
    position: absolute;
    left: 10%;
    top: 40px;
    font-size: 30px;
    color: @login_blue;
    font-weight: 700;
  }
  a {
    display: inline-block;
    height: 100%;
    cursor: pointer;
  }
  .loginModal {
    width: 1200px;
    position: relative;
    margin: 0 auto;
    min-height: 480px;
    height: 100%;

    .el-form {
      padding-right: 30px;
      margin-top: 20px;
    }
  }

  .headLogo {
    height: 120px;
    width: 100%;

    .logoPic {
      height: 56px;
      margin-right: 30px;

      img {
        height: 100%;
      }
    }
  }
  .companyLoginMain {
    position: absolute;
    width: 450px;
    height: 480px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background: #f7faff;
    top: 50%;
    right: 0;
    margin-top: -270px;
    overflow: hidden;
    z-index: 10;
    .zhuce {
      position: absolute;
      background: @gray_99;
      padding: 17px 50px 5px;
      color: @white;
      transform: rotate(45deg);
      top: -10px;
      right: -53px;
      font-size: 12px;
      cursor: pointer;
    }
    padding: 30px 30px 0;
    .title {
      color: @login_blue;
      font-size: 24px;
      font-weight: 600;
      padding: 0 0 20px;
    }
    .navView {
      display: none;
      &.accountForm {
        display: block;
      }
      &.markForm {
        padding: 15px 0;
        text-align: center;
      }
      .loginMark {
        padding: 0;
        width: 280px;
        height: 280px;
        margin: 0 auto;
        position: relative;
        .errorText {
          position: absolute;
          top: 0;
          width: 100%;
          height: 100%;

          background: rgba(0, 0, 0, 0.6);
          cursor: pointer;
          p {
            position: absolute;
            width: 100%;
            padding: 0 20px;
            word-break: break-all;
            color: @white;
            top: 50%;
            transform: translateY(-50%);
          }
        }
      }
    }
    .loginNav {
      position: relative;
      font-size: 16px;
      a {
        display: inline-block;
        position: relative;
        padding: 7px 0;
        margin-right: 30px;
        color: #999;
        cursor: pointer;
        .comTranstion();
        &.active {
          color: @login_blue;
          font-weight: 600;
        }
      }
      .loginNavLine {
        position: absolute;
        .comTranstion();
        height: 2px;
        width: 64px;
        left: 0;
        bottom: 0;
        background: @login_blue;
      }
    }
    .inputBox {
      position: relative;
      height: 50px;
      line-height: 48px;
      border: 1px solid @gray_d6;
      padding-left: 40px;
      border-radius: 5px;
      background: @white;
      .iconfont {
        position: absolute;
        left: 0;
        width: 40px;
        text-align: center;
        color: @gray_99;
        font-size: 20px;
      }
      input {
        width: 100%;
        border: 0;
        outline: none;
        background: none;
        padding-right: 15px;
      }
    }
    .numberCode {
      margin-left: 25px;
      height: 50px;
      width: 100px;
      position: relative;
      border: 1px solid @gray_d6;
      border-radius: 5px;
      img {
        display: block;
        height: 100%;
        width: 100%;
        border-radius: 5px;
      }
      .refresh {
        position: absolute;
        color: @login_blue;
        top: 50px;
        right: 0;
        font-size: 14px;
        cursor: pointer;
        user-select: none;
      }
    }
    .loginBtn {
      margin-top: 50px;
      height: 50px;
      width: 100%;
      border-radius: 5px;
      cursor: pointer;
      .linearGradient(135deg,#1a3ba6,#328ae1);
      color: @white;
      font-size: 16px;
      line-height: 50px;
      text-align: center;
    }
    .phoneCodeBtn {
      height: 50px;
      line-height: 48px;
      user-select: none;
      text-align: center;
      border: 1px solid @login_blue;
      color: @login_blue;
      border-radius: 5px;
      margin-left: 25px;
      cursor: pointer;
      min-width: 100px;
      &.disabled {
        border-color: @gray_99;
        color: @gray_99;
        cursor: not-allowed;
      }
    }
  }
  .logoMain {
    position: absolute;
    // height: calc(100% - 150px);
    right: 0;
    top: 20%;
    z-index: 10;

    .leftPic {
      height: 500px;
      width: 500px;

      img {
        width: 100%;
        height: 100%;
      }
    }

    .loginForm {
      position: relative;
      z-index: 2;
      flex: 0 0 425px;
      max-width: 425px;
      position: relative;
      box-sizing: border-box;
      margin-top: 41px;
      height: 400px;
      padding: 30px;
      background-color: #fff;
      border: 1px solid #eee;
      border-radius: 8px;
      box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
      .layui-tab-content {
        height: 150px !important;
      }
      .inputBox {
        width: 85%;
        margin: 15px auto 30px;
        border-bottom: 1px solid #eee;
        position: relative;

        .input {
          display: block;
          width: 100%;
          background: #fff;
          color: #606266;
          border: 0;
          outline: none;
          font-size: 14px;
          height: 40px;
          line-height: 40px;

          &::-webkit-input-placeholder {
            color: #b6b6b6;
          }

          &::-moz-placeholder {
            /* Mozilla Firefox 19+ */
            color: #b6b6b6;
          }

          &:-moz-placeholder {
            /* Mozilla Firefox 4 to 18 */
            color: #b6b6b6;
          }

          &:-ms-input-placeholder {
            /* Internet Explorer 10-11 */
            color: #b6b6b6;
          }

          &::-webkit-inner-spin-button {
            -webkit-appearance: none !important;
          }

          &::-webkit-outer-spin-button {
            -webkit-appearance: none !important;
          }

          &[type="number"] {
            -moz-appearance: textfield;
          }
        }

        .getCode {
          position: absolute;
          height: 40px;
          line-height: 40px;
          background: #fff;
          cursor: pointer;
          right: 0;
          top: 0;
          color: #0187fb;
        }

        .icon-yanjing {
          position: absolute;
          height: 40px;
          width: 40px;
          line-height: 40px;
          text-align: center;
          right: 0;
          top: 0;
          cursor: pointer;
          color: #999;
        }
      }
    }
  }

  .footLinks {
    border: 1px solid @gray_d6;
    background: rgba(255, 255, 255, 0.4);
    min-height: 30px;
    position: absolute;
    bottom: 0px;
    line-height: 30px;
    width: 100%;
    .inline {
      padding: 0 15px;
      line-height: 10px;
      display: inline-block;
      border-right: 1px solid #ccc;
      color: @blue;
      &:last-child {
        border-right: none;
      }
    }
  }
  .footInfo {
    background: rgba(255, 255, 255, 0.4);
    // border-top: 1px solid #e3e3e3;
    margin-top: 20px;
    position: absolute;
    bottom: 30px;
    width: 100%;
    .comModalWidth {
      padding: 14px 0;

      .infoLeft {
        .links {
          line-height: 100%;
          padding: 6px 0;

          span,
          a {
            padding: 0 15px;
            border-left: 1px solid #eee;

            &:first-child {
              padding-left: 0;
              border-left: none;
            }
          }
        }
      }

      .infoRight {
        img {
          height: 36px;
          display: inline-block;
          margin-left: 20px;
        }
      }
    }
  }
}
